<template>
  <div>
    {{ num }}

    <button @click="add">+</button>
  </div>
</template>

<script setup>
import { ref } from "vue";
let num = ref(100);
let add = () => {
  num.value++;
};
</script>

<style>
</style>